package nc.itf.budget.pact;


import nc.bs.framework.server._ServerForEJBNCLocator;
import nc.bs.pub.BusinessObject;

/**
 * business service ejb wrapper 
 * Created by EJBGenerator
 * based on velocity technology
 */

public class  IPactEjbBean extends BusinessObject{
	private Object thisService;
	
	public void ejbActivate(){}
	public void ejbPassivate(){}
	public void ejbRemove(){}
	
	public IPactEjbBean() {
		thisService=(Object)_ServerForEJBNCLocator.lookup("nc.itf.budget.pact.IPact");
	}
	public void ejbCreate(){
		if(thisService == null)
			thisService=(Object)_ServerForEJBNCLocator.lookup("nc.itf.budget.pact.IPact");
	}
	
	public  Object getService() {
		if(thisService == null)
			thisService=(Object)_ServerForEJBNCLocator.lookup("nc.itf.budget.pact.IPact");			
		return thisService;
	}
	public void update(java.lang.String  arg0 ,java.lang.String  arg1 ) throws Exception{
		
		((nc.itf.bugdet.pact.IPact )getService()).update(arg0 ,arg1 );
		
	}
	public int getCount() throws Exception{
		
		return ((nc.itf.bugdet.pact.IPact )getService()).getCount();		
	}
	public void updatePactByPK(java.lang.String  arg0 ,java.lang.String  arg1 ) throws Exception{
		
		((nc.itf.bugdet.pact.IPact )getService()).updatePactByPK(arg0 ,arg1 );
		
	}
	public void updatePactByPk_1(java.lang.String  arg0) throws Exception{
		
		((nc.itf.bugdet.pact.IPact )getService()).updatePactByPk_1(arg0);
		
	}
	public java.util.ArrayList getPKListByWhereCondition(java.lang.String  arg0) throws Exception{
		
		return ((nc.itf.bugdet.pact.IPact )getService()).getPKListByWhereCondition(arg0);		
	}
	public boolean getBool(java.lang.String  arg0 ,java.lang.String  arg1 ) throws Exception{
		
		return ((nc.itf.bugdet.pact.IPact )getService()).getBool(arg0 ,arg1 );		
	}
}
	